student={'小明':0,'小张':0,'小郭':0,'小陈':0,'小林':0}
count=0
while count<5:
    name=input("请输入你想投票的名字")
    if name=='小明':
       student['小明']+=1
    elif name=='小陈':
       student['小陈']+=1
    elif name=='小林':
       student['小林']+=1
    elif name=='小郭':
       student['小郭']+=1
    else:
       student['小张']+=1
    count+=1
print(student)
max(student.values())
for key,value in student.items():
    if(value == max(student.values())):
        print('恭喜%s成为班长'%key)
